package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型管理对象 modelinfo
 * 
 * @author ruoyi
 * @date 2025-07-29
 */
public class Modelinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模型ID（主键） */
    private Long modelid;

    /** 模型类型 */
    @Excel(name = "模型类型")
    private String modeltype;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelname;

    /** 模型路径 */
    @Excel(name = "模型路径")
    private String modelpath;

    /** 模型来源用户 */
    @Excel(name = "模型来源用户")
    private String modelsourceuser;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadtime;

    /** 模型描述 */
    @Excel(name = "模型描述")
    private String modeldescription;

    public void setModelid(Long modelid) 
    {
        this.modelid = modelid;
    }

    public Long getModelid() 
    {
        return modelid;
    }

    public void setModeltype(String modeltype) 
    {
        this.modeltype = modeltype;
    }

    public String getModeltype() 
    {
        return modeltype;
    }

    public void setModelname(String modelname) 
    {
        this.modelname = modelname;
    }

    public String getModelname() 
    {
        return modelname;
    }

    public void setModelpath(String modelpath) 
    {
        this.modelpath = modelpath;
    }

    public String getModelpath() 
    {
        return modelpath;
    }

    public void setModelsourceuser(String modelsourceuser) 
    {
        this.modelsourceuser = modelsourceuser;
    }

    public String getModelsourceuser() 
    {
        return modelsourceuser;
    }

    public void setUploadtime(Date uploadtime) 
    {
        this.uploadtime = uploadtime;
    }

    public Date getUploadtime() 
    {
        return uploadtime;
    }

    public void setModeldescription(String modeldescription) 
    {
        this.modeldescription = modeldescription;
    }

    public String getModeldescription() 
    {
        return modeldescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modelid", getModelid())
            .append("modeltype", getModeltype())
            .append("modelname", getModelname())
            .append("modelpath", getModelpath())
            .append("modelsourceuser", getModelsourceuser())
            .append("uploadtime", getUploadtime())
            .append("modeldescription", getModeldescription())
            .toString();
    }
}
